package designpattern.factory;

public class OperationAdd extends Operation {

	public OperationAdd(Double num1, Double num2) {
		super(num1, num2);
		
	}

	@Override
	public Double operat() {
		return this.getNum1()+this.getNum2();
	}

}
